package testGame2;

import boundary.gui.GUIManager;
import desktop_resources.GUI;

public class TestGUIManager extends GUIManager {

	private boolean animationActive = false;
	private desktop_fields.Field[] guiFields;
	private int integerC;
	private int boolC;
	private int stringC;
	private String[] strings = new String[] {
			"Spiller 1", // type in player1
			"Spiller 2", // type in player2
			"",
			"" };

	private String updateString() {
		return strings[stringC++];
	}

	boolean first = true;

	@Override
	public int getInteger(String msg) {
		if (first) {
			first = false;
			return 2;
		}
		return super.getInteger(msg);
	}

	@Override
	public String getString(String msg) {
		String string = updateString();
		GUI.showMessage(string);
		return string;
	}

}
